
<link href="css/style_question.css" type="text/css" rel="stylesheet" />
<table border="0" width="800" id="table4" cellspacing="1" cellpadding="0" bgcolor="#FDF9EE">
				<tr>
					<td colspan="6"><span style="font-size: 4pt">&nbsp;</span></td>
				</tr>
				
				<tr>
				<td align="center" width="190" bgcolor="#F7E6B7">
						<font face="Verdana" style="font-size: 8.5pt" color="#990000">Source</font></td>
					<td align="center" width="174" bgcolor="#F7E6B7">
                        <font face="Verdana" style="font-size: 8.5pt" color="#990000">Current Status</font>
                        </td>
						
					<td align="center" width="74" bgcolor="#F7E6B7">
						<font style="font-size: 8.5pt" face="Verdana" color="#990000">
						Yield (Min) KL/day</font></td>
					<td align="center" width="92" bgcolor="#F7E6B7">
						<font face="Verdana" style="font-size: 8.5pt" color="#990000">
						Yield (Max) KL/day</font></td>
					<td align="center" width="120" bgcolor="#F7E6B7">
						<font face="Verdana" style="font-size: 8.5pt" color="#990000">                        Water Table (Min) (M)</font></td>
					<td align="center" width="143" bgcolor="#F7E6B7">
						<font style="font-size: 8.5pt" face="Verdana" color="#990000">
						Water Table (Max) (M)</font></td>
					
				</tr>	
				<?php
include('config.php');
$no=$_POST['num_source'];
for($i=1; $i<=$no; $i++)
{
?>
				<tr>
				<td width="190" align="center"><font style="font-size: 8.5pt" face="Verdana" color="#000000">
						<select size="1" name="source<?php echo $i;?>" id="source<?php echo $i;?>" class="txt">
						<option selected value="0">Select</option>
						<?php 
						foreach($sources as $key=>$val)
						{
		   					echo "<option value=\"$val\">$val</option>";
						}
						?>
				  </select></font></td>
				  <td width="174" height="20">
                  <font color="#000000" size="2">
                  <input type="radio" name="current_status<?php echo $i;?>" id="current_status<?php echo $i;?>" value="operation" checked onClick="setEnable22(this.value,<?php echo $i; ?>)"> Operatioanl
				  <input type="radio" name="current_status<?php echo $i;?>" id="current_status<?php echo $i;?>" value="defunct" onClick="setReadOnly22(this.value,<?php echo $i; ?>)">Defunct
				  </font>
                  </td>
				  
					<td width="74" align="center">
				  <input type="text" name="yield_min<?php echo $i;?>" id="yield_min<?php echo $i;?>" size="10" class="txt5" onblur="float(this)"></td>
					<td width="92" align="center">
				  <input type="text" name="yield_max<?php echo $i;?>" id="yield_max<?php echo $i;?>" size="10" class="txt5" onblur="float(this)"></td>
					<td width="120" align="center">
				  <input type="text" name="water_table_min<?php echo $i;?>" id="water_table_min<?php echo $i;?>" size="15" class="txt5" onblur="float(this)"></td>
					<td width="143" align="center">
				  <input type="text" name="water_table_max<?php echo $i;?>" id="water_table_max<?php echo $i;?>" size="15" class="txt5" onblur="float(this)"></td>
				  
				</tr>
				<input type="hidden" name="sourcecount" id="sourcecount" value="<?php echo $no;?>"/>	
</table>
<?php 
} 
?>